home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / Squeaky.swf / scripts / frame_131 / PlaceObject2_256_33 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2005-08-04  |  287 b   |  11 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.hero.hitTest(this.ufotop) && _root.hero._y < this._y and _root.oil1._currentframe == 2 and _root.oil2._currentframe == 2 and _root.oil3._currentframe == 2)
  3.    {
  4.       this.gotoAndStop(2);
  5.    }
  6.    else
  7.    {
  8.       this.gotoAndStop(1);
  9.    }
  10. }
  11.